#ifndef __KEY_H
#define __KEY_H
#include "sys.h"

void keyinit(void);
u8 keyscan(u8 mode);

#define key1 PEin(4)
#define key0 PEin(3)
#define wkup PAin(0)
#endif
